package com.example.service;

import com.example.entity.User;
import com.example.entity.menu;

import java.util.List;

public interface UserService {

//      用户登陆
User login(String userName, String userPwd);

      void register(User user);

      User findUserByID(Integer randomID);

      List<menu> findAllMenu();

      User findUserDetailByID(Integer id);

      void updateUserDetail(User user);
}
